package pure.ui.skins 
{
	import flash.system.ApplicationDomain;	
	import flash.display.BitmapData;
	
	/**
	 * 绝望皮肤接口
	 * @author Des
	 * 
	 * 单例:
	 *  public class NewToggleSkin 
	 *  {
	 * 
	 *		public static function get instance():SelectableSkin
	 *		{
	 *			if (!_instance) {
	 *				_instance = new SelectableSkin('one','two','three','four');
	 *			}
	 *			return _instance;
	 *		}
	 * 
	 *		private static var _instance:SelectableSkin
	 *  }
	 */
	
public interface ISkin 
{
	
	
	/**
	 * 获取位图
	 * @param property		属性名称(位图)
	 **/
	function getBitmap(property:String,currW:Number,currH:Number,app:ApplicationDomain=null):BitmapData

	
	/**
	 * 获取皮肤实例
	 * @param property		属性名称(皮肤)
	 **/
	function getSkin(property:String):ISkin
	
	
}
	
}